﻿using System;

namespace IntoNails.Infrastructure.Activity
{
    public class ActivityContext
    {
        public ActivityContext(Action callback)
        {
            this.ActivityCallback = callback;
        } 

        public Action ActivityCallback { get; private set; }
        public bool IsCancelled { get; set; }
        public IActivity LastActivity { get; internal set; }
        public Exception Error { get; set; }
    }
}
